﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace iLangl.Transport.Communication
{
	public class CommunicationConfiguration : ConfigurationSection
	{
		

		private static ConfigurationPropertyCollection properties;

		private static CommunicationConfiguration instance;

		static CommunicationConfiguration()
		{
			

			properties = new ConfigurationPropertyCollection();
			
		}



		/// <summary>
		/// The instance of the TransportConfiguration.
		/// </summary>
		public static CommunicationConfiguration Instance
		{
			get
			{
				if (instance == null)
				{
					instance = ConfigurationManager.GetSection("CommunicationConfiguration") as CommunicationConfiguration;
				}
				return instance;
			}
		}

	

		protected override ConfigurationPropertyCollection Properties
		{
			get
			{
				return properties;
			}
		}

	}
}
